home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / MosaicSRC / libwww2 / HTAlert.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  1.4 KB  |  56 lines

  1. /*  */
  2.  
  3. /*      Displaying messages and getting input for WWW Library
  4. **      =====================================================
  5. **
  6. **         May 92 Created By C.T. Barker
  7. **         Feb 93 Portablized etc TBL
  8. */
  9.  
  10. #include "HTUtils.h"
  11. #include "tcp.h"
  12.  
  13. /*      Display a message and get the input
  14. **
  15. **      On entry,
  16. **              Msg is the message.
  17. **
  18. **      On exit,
  19. **              Return value is malloc'd string which must be freed.
  20. */
  21. extern char * HTPrompt PARAMS((CONST char * Msg, CONST char * deflt));
  22. extern char * HTPromptPassword PARAMS((CONST char * Msg));
  23.  
  24.  
  25. /*      Display a message, don't wait for input
  26. **
  27. **      On entry,
  28. **              The input is a list of parameters for printf.
  29. */
  30. extern void HTAlert PARAMS((CONST char * Msg));
  31.  
  32.  
  33. /*      Display a progress message for information (and diagnostics) only
  34. **
  35. **      On entry,
  36. **              The input is a list of parameters for printf.
  37. */
  38. extern void HTProgress PARAMS((CONST char * Msg));
  39. extern int HTCheckActiveIcon PARAMS((int twirl));
  40. extern void HTClearActiveIcon NOPARAMS;
  41.  
  42.  
  43. /*      Display a message, then wait for 'yes' or 'no'.
  44. **
  45. **      On entry,
  46. **              Takes a list of parameters for printf.
  47. **
  48. **      On exit,
  49. **              If the user enters 'YES', returns TRUE, returns FALSE
  50. **              otherwise.
  51. */
  52. extern BOOL HTConfirm PARAMS ((CONST char * Msg));
  53. /*
  54.  
  55.     */
  56.